package com.czx.drivingtest.model.entity;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author czx
 * @date 2020/7/14 11:26
 */
public class TokenInfo {
    public TokenInfo(String token, long expireIn) {
        this.token = token;
        this.expireIn = expireIn;
    }

    @JsonProperty("access_token")
    private String token;
    @JsonProperty("expires_in")
    private long expireIn;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public long getExpireIn() {
        return expireIn;
    }

    public void setExpireIn(long expireIn) {
        this.expireIn = expireIn;
    }
}
